package com.yudaob2b.business.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.yudaob2b.business.dao.ElongHotelRateDao;
import com.yudaob2b.business.entity.po.ElongHotelRatePO;
import com.yudaob2b.business.service.ElongHotelRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author Kidd.Tan
 * @email 298023780@qq.com
 * @date 2018-02-08
 */
@Service("elongHotelRateService")
public class ElongHotelRateServiceImpl extends ServiceImpl<ElongHotelRateDao, ElongHotelRatePO> implements ElongHotelRateService {

    @Autowired
    private ElongHotelRateDao elongHotelRateDao;

    public int updateBatch(List<ElongHotelRatePO> list) {
        return elongHotelRateDao.updateBatch(list);
    }

    public int replaceInto(List<ElongHotelRatePO> list) {
        return elongHotelRateDao.replaceInto(list);
    }
}
